//
//  ChooseAgeView.h
//  Cycling
//
//  Created by 迟国强 on 2023/3/7.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface ChooseAgeView : UIView<UIPickerViewDelegate, UIPickerViewDataSource>

@property (nonatomic, copy)void(^complectionBlock)(NSString *age);
@property (nonatomic, strong) UIPickerView *datePicker;
@property (nonatomic, strong) NSArray *dataArr;

@property (nonatomic, strong) NSString *age;
+ (ChooseAgeView *)chooseAgeWith:(UIViewController *)vc Complection:(void(^)(NSString *age))block;

@end

NS_ASSUME_NONNULL_END
